package com.wang.learn.domain.resource.model;

import com.wang.learn.common.model.ICodeEnum;

/**
 * <p>权限级别枚举</p>
 *
 * @author wcz
 * @version V1.0.0
 * @date 2022/11/22 20:05
 */
public enum ResourceLevel implements ICodeEnum {
    TENANT(1, "租户"),
    SYSTEM(2, "系统");

    private int value;
    private String label;

    ResourceLevel(int value, String label) {
        this.value = value;
        this.label = label;
    }

    @Override
    public int value() {
        return 0;
    }

    @Override
    public String label() {
        return null;
    }
}
